https://github.com/LangLEvoI/langchangeinnet/blob/master/ruse.slides.html
@Limor_Raviv |
@palday |
- The listener ponits to the speaker, e.g. A -> D: L(A), S(D), ind(D)++;
- a higher in-degree, a higher chosen probability, e.g. P(L(A)|S(D)) = 1/6, P(L(A)|S(C)) = 1/3;
- Intuitively, it makes sense in life, e.g. Twitter (followers and following)
glob_init() # random 900 nodes and 7,561 edges, 8 variants
for time in range(40000): # 40,000 iterations
for node in range(900):
selection() # every node chooses a neighbour via probability
exchage() # variant exchange, e.g. var[A] = var[D]
Multiple s-curves |
Double s-curves |
S-curve |
run(900, 7561, 40000, 'artificial_network')
Interaction %: 100%|##########| 40000/40000 [10:35<00:00, 62.92it/s]
a) Random selection (chaos) |
b) Fixed selection (chaos) |
c) No hubs (chaos) |
d) No loners (one s-curve) |
run(100, 400, 500, 'artificial_network')
Interaction %: 100%|##########| 500/500 [00:06<00:00, 72.39it/s]
viz_space(100, 400, 500, 'artificial_network')
Plotting %: 100%|##########| 501/501 [00:01<00:00, 298.75it/s]